package io.gitee.hchaojie.day05;

import org.junit.Assert;
import org.junit.Test;

public class TestMathUtils {
    @Test
    public void test() {
        // Assert.assertEquals(100, MathUtil.max(1, 2, 8, 100, 50, 99));
        
        String s = MathUtil.max("abc", "de", "abe");
        System.out.println(s);
        
        Integer max = MathUtil.max(new Integer(1), new Integer(3));
        System.out.println(max);

        // Teacher没有实现Comparable接口
        // MathUtil.max(new Teacher("zhangsan"), new Teacher("lisi"));
    }
}
